<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
        <head><title>object Version in slinky.http</title>
        <meta http-equiv="content-type" content="text/html; charset=UTF8"></meta><meta content="scaladoc (version 2.7.2.RC4)" name="generator"></meta><link href="../../style.css" type="text/css" rel="stylesheet"></link><script type="text/javascript" src="../../script.js"></script>
        </head>
        <body onload="init()">
        <table summary="" class="navigation">
        <tr>
          <td class="navigation-links" valign="top">
            <!-- <table><tr></tr></table> -->
          </td>
          <td align="right" valign="top" style="white-space:nowrap;" rowspan="2">
            <div class="doctitle-larger">Slinky 2.0</div>
          </td>
        </tr>
        <tr><td></td></tr>
      </table><div><div align="right"><img alt="Workingmouse" src="http://projects.workingmouse.com/public/resources/images/logo_full_transparent.png"></img></div><p><em>Copyright Workingmouse Pty. Ltd. 2007, 2008</em></p>This software is released under an open source BSD licence.</div>
        
      <div class="entity">
        <a href="../../slinky/http$package.html" target="_self">slinky.http</a>
        <br></br>
        <span class="entity">object  Version</span>
      </div><hr></hr>
      <div class="source">
        [source: <a href="" class="slinky/http/Version"><code>slinky/http/Version.scala</code></a>]
      </div><hr></hr>
      <a name="Version"></a><dl>
      <dt>
        
        <code></code>
        <code>object</code>
        <em>Version</em>
      </dt>
      <dd><code> extends </code><a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a></dd>
    </dl>
      <dl><dd>HTTP version.
 <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.1">RFC 2616 Section 3.1 HTTP Version</a>.</dd></dl>
      <dl></dl>
    
      

<table summary="" cellpadding="3" class="member">
      <tr><td class="title" colspan="2">Value Summary</td></tr>
      <tr>
      <td class="modifiers" valign="top"> 
        <code> val</code>
      </td>
      <td class="signature">
        <em><a href="../../slinky/http/Version$object.html#version10" target="_self">version10</a></em>
         : <a href="../../slinky/http/Version.html" target="_self">Version</a>
        
        <div>A version for HTTP/1.0.</div>
      </td>
    </tr>
<tr>
      <td class="modifiers" valign="top"> 
        <code> val</code>
      </td>
      <td class="signature">
        <em><a href="../../slinky/http/Version$object.html#version11" target="_self">version11</a></em>
         : <a href="../../slinky/http/Version.html" target="_self">Version</a>
        
        <div>A version for HTTP/1.1.</div>
      </td>
    </tr>
      </table>
<table summary="" cellpadding="3" class="member">
      <tr><td class="title" colspan="2">Method Summary</td></tr>
      <tr>
      <td class="modifiers" valign="top"> 
        <code>implicit def</code>
      </td>
      <td class="signature">
        <em><a href="../../slinky/http/Version$object.html#ListVersion" target="_self">ListVersion</a></em>
         : (<a href="" target="contentFrame" class="scala/List">scala.List</a>[<a href="http://www.scala-lang.org/docu/files/api/scala/Char.html" target="_self">Char</a>]) =&gt; <a href="" target="contentFrame" class="scala/Option">scala.Option</a>[<a href="../../slinky/http/Version.html" target="_self">Version</a>]
        
        <div>Returns a string representation for the given version.</div>
      </td>
    </tr>
<tr>
      <td class="modifiers" valign="top"> 
        <code>implicit def</code>
      </td>
      <td class="signature">
        <em><a href="../../slinky/http/Version$object.html#StringVersion%28String%29" target="_self">StringVersion</a></em>
        (<em>s</em> : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a>) : <a href="" target="contentFrame" class="scala/Option">scala.Option</a>[<a href="../../slinky/http/Version.html" target="_self">Version</a>]
        
        <div>Returns a potential version for the given string of the form <code>HTTP/major/minor</code>.</div>
      </td>
    </tr>
<tr>
      <td class="modifiers" valign="top"> 
        <code>implicit def</code>
      </td>
      <td class="signature">
        <em><a href="../../slinky/http/Version$object.html#VersionString%28slinky.http.Version%29" target="_self">VersionString</a></em>
        (<em>v</em> : <a href="../../slinky/http/Version.html" target="_self">Version</a>) : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a>
        
        <div>Returns a string representation for the given version.</div>
      </td>
    </tr>
<tr>
      <td class="modifiers" valign="top"> 
        <code> def</code>
      </td>
      <td class="signature">
        <em><a href="../../slinky/http/Version$object.html#unapply%28slinky.http.Version%29" target="_self">unapply</a></em>
        (<em>v</em> : <a href="../../slinky/http/Version.html" target="_self">Version</a>) : <a href="" target="contentFrame" class="scala/Option">scala.Option</a>[(<a href="" target="contentFrame" class="scalaz/Digit">scalaz.Digit</a>, <a href="" target="contentFrame" class="scalaz/Digit">scalaz.Digit</a>)]
        
        <div>Extracts the major and minor numbers of the given version.</div>
      </td>
    </tr>
<tr>
      <td class="modifiers" valign="top"> 
        <code> def</code>
      </td>
      <td class="signature">
        <em><a href="../../slinky/http/Version$object.html#version%28scalaz.Digit%2Cscalaz.Digit%29" target="_self">version</a></em>
        (<em>maj</em> : <a href="" target="contentFrame" class="scalaz/Digit">scalaz.Digit</a>, <em>min</em> : <a href="" target="contentFrame" class="scalaz/Digit">scalaz.Digit</a>) : <a href="../../slinky/http/Version.html" target="_self">Version</a>
        
        <div>Constructs a version with the given major and minor numbers.</div>
      </td>
    </tr>
      </table><table summary="" cellpadding="3" class="inherited">
        <tr><td class="title" colspan="2">
          Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a>
        </td></tr>
        <tr><td class="signature" colspan="2">
          <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#getClass%28%29" target="_self">getClass</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#hashCode%28%29" target="_self">hashCode</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#equals%28Any%29" target="_self">equals</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#clone%28%29" target="_self">clone</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#toString%28%29" target="_self">toString</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notify%28%29" target="_self">notify</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notifyAll%28%29" target="_self">notifyAll</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%2CInt%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#finalize%28%29" target="_self">finalize</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%3D%3D%28AnyRef%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%21%3D%28AnyRef%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#eq%28AnyRef%29" target="_self">eq</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#ne%28AnyRef%29" target="_self">ne</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#synchronized%28T0%29" target="_self">synchronized</a>
        </td></tr>
      </table><table summary="" cellpadding="3" class="inherited">
        <tr><td class="title" colspan="2">
          Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a>
        </td></tr>
        <tr><td class="signature" colspan="2">
          <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%3D%3D%28Any%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%21%3D%28Any%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#isInstanceOf" target="_self">isInstanceOf</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#asInstanceOf" target="_self">asInstanceOf</a>
        </td></tr>
      </table>


      

<table summary="" cellpadding="3" class="member-detail">
          <tr><td class="title">Value Details</td></tr>
        </table><div><a name="version10"></a><dl>
      <dt>
        
        <code></code>
        <code>val</code>
        <em>version10</em> : <a href="../../slinky/http/Version.html" target="_self">Version</a>
      </dt>
      <dd></dd>
    </dl>
      <dl><dd>A version for HTTP/1.0.</dd></dl>
      <dl></dl>
    <hr></hr>
<a name="version11"></a><dl>
      <dt>
        
        <code></code>
        <code>val</code>
        <em>version11</em> : <a href="../../slinky/http/Version.html" target="_self">Version</a>
      </dt>
      <dd></dd>
    </dl>
      <dl><dd>A version for HTTP/1.1.</dd></dl>
      <dl></dl>
    <hr></hr></div>
<table summary="" cellpadding="3" class="member-detail">
          <tr><td class="title">Method Details</td></tr>
        </table><div><a name="unapply%28slinky.http.Version%29"></a><dl>
      <dt>
        
        <code></code>
        <code>def</code>
        <em>unapply</em>(<em>v</em> : <a href="../../slinky/http/Version.html" target="_self">Version</a>) : <a href="" target="contentFrame" class="scala/Option">scala.Option</a>[(<a href="" target="contentFrame" class="scalaz/Digit">scalaz.Digit</a>, <a href="" target="contentFrame" class="scalaz/Digit">scalaz.Digit</a>)]
      </dt>
      <dd></dd>
    </dl>
      <dl><dd>Extracts the major and minor numbers of the given version.</dd></dl>
      <dl></dl>
    <hr></hr>
<a name="version%28scalaz.Digit%2Cscalaz.Digit%29"></a><dl>
      <dt>
        
        <code></code>
        <code>def</code>
        <em>version</em>(<em>maj</em> : <a href="" target="contentFrame" class="scalaz/Digit">scalaz.Digit</a>, <em>min</em> : <a href="" target="contentFrame" class="scalaz/Digit">scalaz.Digit</a>) : <a href="../../slinky/http/Version.html" target="_self">Version</a>
      </dt>
      <dd></dd>
    </dl>
      <dl><dd>Constructs a version with the given major and minor numbers.</dd></dl>
      <dl></dl>
    <hr></hr>
<a name="VersionString%28slinky.http.Version%29"></a><dl>
      <dt>
        
        <code>implicit</code>
        <code>def</code>
        <em>VersionString</em>(<em>v</em> : <a href="../../slinky/http/Version.html" target="_self">Version</a>) : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a>
      </dt>
      <dd></dd>
    </dl>
      <dl><dd>Returns a string representation for the given version.</dd></dl>
      <dl></dl>
    <hr></hr>
<a name="ListVersion"></a><dl>
      <dt>
        
        <code>implicit</code>
        <code>def</code>
        <em>ListVersion</em> : (<a href="" target="contentFrame" class="scala/List">scala.List</a>[<a href="http://www.scala-lang.org/docu/files/api/scala/Char.html" target="_self">Char</a>]) =&gt; <a href="" target="contentFrame" class="scala/Option">scala.Option</a>[<a href="../../slinky/http/Version.html" target="_self">Version</a>]
      </dt>
      <dd></dd>
    </dl>
      <dl><dd>Returns a string representation for the given version.</dd></dl>
      <dl></dl>
    <hr></hr>
<a name="StringVersion%28String%29"></a><dl>
      <dt>
        
        <code>implicit</code>
        <code>def</code>
        <em>StringVersion</em>(<em>s</em> : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a>) : <a href="" target="contentFrame" class="scala/Option">scala.Option</a>[<a href="../../slinky/http/Version.html" target="_self">Version</a>]
      </dt>
      <dd></dd>
    </dl>
      <dl><dd>Returns a potential version for the given string of the form <code>HTTP/major/minor</code>.</dd></dl>
      <dl></dl>
    <hr></hr></div>


    <hr></hr>
        <table summary="" class="navigation">
        <tr>
          <td class="navigation-links" valign="top">
            <!-- <table><tr></tr></table> -->
          </td>
          <td align="right" valign="top" style="white-space:nowrap;" rowspan="2">
            <div class="doctitle-larger">Slinky 2.0</div>
          </td>
        </tr>
        <tr><td></td></tr>
      </table>
      </body>
      </html>